package aula_heranca;

public class Retangulo extends Figura {
	private double ladoa;
    private double ladob;

    public Retangulo(double ladoa, double ladob) {
        this.ladoa = ladoa;
        this.ladob = ladob;
    }

    @Override
    protected double calcArea() {
        return (ladoa * ladob);
    }
}
